﻿using SHomeWorkshop.LunarPresentation.Dialogs;

namespace SHomeWorkshop.LunarPresentation.Commands
{
    public partial class Command
    {
        public static void InputCommand(MainWindow mainWindow)
        {
            if (Globals.selectedEditor == null) return;

            CmdDialog cdlg = new CmdDialog(mainWindow)
            {
                Owner = mainWindow
            };

            cdlg.ShowDialog();
            mainWindow.Focus();
        }
    }
}
